\ifcase#1\relax
	\ValueWasZero
\or
	\ValueWasOne
\or
	\ValueWasTwo
	...
\else
	\OtherCases
\fi
